home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000010_icon-group-sender _Mon Jan 8 08:23:42 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 8 Jan 1996 12:23:21 MST
Date: Mon, 8 Jan 1996 08:23:42 -0600 (CST)
From: "Chris D. Tenaglia" <cdt@post.its.mcw.edu>
To: Hamish Lawson <H.Lawson@tees.ac.uk>
Cc: icon-group@cs.arizona.edu
Subject: Re: How does Icon compare to Perl?
In-Reply-To: <AA04038.9601081214.scorch@uk.ac.tees>
Message-Id: <Pine.ULT.3.90.960108080849.10802A-100000@post.its.mcw.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
> Chris D. Tenaglia wrote:
> > Perl is interpreted like old BASIC is interpreted. Each line has
> > to be freshly loaded and parsed during execution, whereas, even
> > an "interpreted" Icon program uses a pre-digested icode.
>
> Much as I prefer Icon over Perl, I wouldn't want its claim to
> superiority based in part on false assertions about its rivals :-).
> As I understand it, when Perl is invoked it compiles the given script
> into memory before running it, rather than parsing each line as the
> script is executed. This implicit compilation stage undergone every
> time a Perl script is run may account for the reported longer
> execution time of Perl scripts compared to equivalent precompiled
> Icon scripts.
>
> | Hamish Lawson, School of Computing and Mathematics,
> | University of Teesside, Middlesbrough, Cleveland, UK, TS1 3BA
> | Tel: +44 1642 218121 x3611 Fax: +44 1642 342604
> | E-mail: H.Lawson@tees.ac.uk
>
Ooops. sorry. I guess I made the assumption that edit-run-edit-run meant
interpreter. Perl programmers told me it was an interpreter too. So it's
an edit-(compile&run)-edit-(compile&run) during development, and
(compile&run) every time once in production? If one makes modular
systems with lots of perls calling each other there'd still be a lot of
compiling going on even after programming has completed? It almost
sounds like the tokenizing done by some BASICs. I suppose this also
rules out self modifying scripts? Thanks for the correction!
Chris Tenaglia (system manager) | cdt@post.its.mcw.edu
Medical College of Wisconsin |
8701 W. Watertown Plank Rd. | Ce que vous voyez est
Milwaukee, WI 53226 (414)456-8765 | ce que vous obtenez !